import { LOGIN, LOGOUT } from 'Constants/userConstants';
//import Api from 'Utils/api';

export function login(userInfo) {
  return {
    type: LOGIN,
    userInfo,
  };
}

export function logout() {
  return {
    type: LOGOUT,
  };
}
